home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 10548 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  962 b 

  1. Path: nyx10.cs.du.edu!not-for-mail
  2. From: vputz@nyx10.cs.du.edu (Victor Putz)
  3. Newsgroups: comp.lang.c++,comp.sys.hp.hpux
  4. Subject: Re: Problem on using STL
  5. Date: 8 Mar 1996 09:33:02 -0700
  6. Organization: University of Denver, Math/CS Dept.
  7. Message-ID: <4hpnfu$nva@nyx10.cs.du.edu>
  8. References: <4f8fik$8p@upsnews.ups.com> <3119E874.7FFC@pal.uu.se> <4fekit$t58@usenet4.interramp.com> <4fge21$cef@news.rz.uni-passau.de>
  9. NNTP-Posting-Host: nyx10.nyx.net
  10. X-Newsreader: NN version 6.5.0 #3 (NOV)
  11.  
  12. ruscha@forwiss.uni-passau.de (Dieter Ruscha) writes:
  13.  
  14. >There is a MFC-tuned version of the HP-STL avaiable at
  15. >http://www.rahul.net/terris/
  16. >The only problem i have is with a 2-dim array like 
  17. >std::vector< std::vector<int> > a;
  18. >But otherwise it works fine.
  19.  
  20. >  Dieter
  21.  
  22.  
  23. I had this trouble myself, and solved it by the following kludge:
  24.  
  25. class VECTORT : public std::vector< T > {}; //dummy class
  26. std::vector< VECTORT > vect;
  27.  
  28. It works just fine; just looks ugly.
  29.  
  30. -->VPutz
  31.  
  32.